/*
 * @Description: GetWeather.ts
 * @Author: 86159
 * @Date: 2023-01-11 09:25
 * @LastEditTime: 2023-01-11 09:25
 * @LastEditors: 86159
 */

import useAxios from "@/api/Request";

const GetWeather = (city: string) => useAxios({
    base: 'http://ajax-api.itheima.net',
    api: '/api/weather',
    params: {city}
})

export default  GetWeather